﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Text;
namespace xxxy.Web.worktypeInfo
{
    public partial class Show : Page
    {        
        		public string strid=""; 
		protected void Page_Load(object sender, EventArgs e)
		{
			if (!Page.IsPostBack)
			{
				if (Request.Params["id"] != null && Request.Params["id"].Trim() != "")
				{
					strid = Request.Params["id"];
					int wtid=(Convert.ToInt32(strid));
					ShowInfo(wtid);
				}
			}
		}
		
	private void ShowInfo(int wtid)
	{
		xxxy.BLL.worktypeInfo bll=new xxxy.BLL.worktypeInfo();
		xxxy.Model.worktypeInfo model=bll.GetModel(wtid);
		this.lblwtid.Text=model.wtid.ToString();
		this.lblwtname.Text=model.wtname;

	}


    }
}
